﻿using System;
using System.Collections.Generic;

namespace studentSubsidy.Entity.Home
{
    public class ProjectQuery
    {
        private List<int> categoryId;
        private int CurrentPage;
        private int PageSize;

        public ProjectQuery(List<int> categoryId, int currentPage, int pageSize)
        {
            this.categoryId = categoryId;
            this.CurrentPage = currentPage;
            this.PageSize = pageSize;
        }

        public List<int> category_id
        {
            get => categoryId;
            set => categoryId = value ?? throw new ArgumentNullException(nameof(value));
        }

        public int currentPage
        {
            get => CurrentPage;
            set => CurrentPage = value;
        }

        public int pageSize
        {
            get => PageSize;
            set => PageSize = value;
        }
    }
}